﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mathematics.Expressions;

namespace Mathematics.Parser
{
    public class ExpressionToken:Token
    {
        internal ExpressionToken(MathExpression expression) 
            : base(TokenType.Expression, expression.ToString())
        {
            Expression = expression;
        }

        public MathExpression Expression { get; private set; }
    }
}
